Skip to content

Conversation

@priyadhanu14
Copy link
Contributor

@priyadhanu14 priyadhanu14 commented Feb 12, 2025

Description

Code to copy the weights back from the GPU after each epoch.

Checklist (Mandatory for new features)

  • Added Documentation
  • Added Unit Tests

Testing (Mandatory for all changes)

  • GPU Test: test-medium-connected.xml Passed
  • GPU Test: test-large-long.xml Passed

return;
}

std::string xmlContent = vectorToXML(W_, vertexCount, vertexCount, "WeightMatrix");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The size of the weights matrix is vertexCount * Simulator::getInstance().getMaxEdgesPerVertex();. See AllSynapsesDeviceFuncs_d.cpp lines 568 and 584

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is to support having multiple synapses between two neurons but I don't know if that's actually implemented anywhere in the code

@stiber stiber marked this pull request as draft June 18, 2025 18:22
@varndorfer varndorfer mentioned this pull request Jun 24, 2025
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants